#ifndef THREAD01_H
#define THREAD01_H

#include <QObject>
#include <QThread>
#include <QDebug>
class PlayPCMThread : public QThread
{
    Q_OBJECT
public:
    explicit PlayPCMThread(QObject *parent = nullptr);
    explicit PlayPCMThread(int count,QObject *parent = nullptr);
    ~PlayPCMThread();
private:
    void run();
    int count = 0;
    void init();
signals:
    void callBack(int count);
};

#endif // THREAD01_H
